package com.retoc.graduationtravel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName recommend
 */
@TableName(value = "recommend")
@Data
public class Recommend implements Serializable {
    /**
     * id
     */
    @TableId
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 更新时间
     */
    private Date date;

    /**
     * 图片链接
     */
    private String imgUrl;

    /**
     * 点击链接
     */
    private String toUrl;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 逻辑删除
     */
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}